<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>作业2</title>
    <style>
      .box {
        width: 400px;
        height: 600px;
        margin: 100px auto;
        transform-style: preserve-3d;
      }
      .box > img {
        transform: rotateX(50deg) rotateZ(-20deg);
        box-shadow: 10px 10px 15px #000;
        transition: all 1s;
      }
      .box > img:hover {
        transform: rotateX(0) rotateZ(0);
        box-shadow: 100px 100px 100px #fff;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <img src="images/phone.jpg" alt="" />
    </div>
  </body>
</html>
